package com.example.game.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {
        "com.example.game.app",       // 扫描 app 模块的组件
        "com.example.game.module"     // 扫描 module 模块的组件
})

@MapperScan("com.example.game.module.mapper")
public class GameAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(GameAppApplication.class, args);
    }
}
